#!/bin/bash

git status | grep "Untracked files:" -A 100 | grep filesys/ > list.txt

while read line
do
    echo "rm $line -rf"
    rm $line -rf
done < list.txt

rm list.txt

../com_rm_filesys.sh
echo "checkout filesys"
git checkout filesys/

